﻿using System.Collections.Generic;
using FrameworkManapro.BusinessModel;

namespace GMAC.ReportingSystem.Business.Entities
{
    /// <summary>
    /// Defines the access levels of the Users.
    /// </summary>
    [DbProcedures(Insert = "", Update = "", Delete = "")]
    public class Product : BusinessEntity
    {
        /// <summary>
        /// Gets or sets the AccountTypeID
        /// </summary>
        /// <value>The AccountTypeID.</value>
        [EntityPrimaryKey]
        [DbParameter(0, 0, 0)]
        [TableColumn]
        public int AccountTypeID { get; set; }

        /// <summary>
        /// Gets or sets the Product Name
        /// </summary>
        /// <value>The Product name.</value>
        [DbParameter(0, 0, 0)]
        public string ProductName { get; set; }

        /// <summary>
        /// Gets or sets the Product TypeCode
        /// </summary>
        /// <value>The Product Code.</value>
        [DbParameter(0, 0, 0)]
        [VisibleProperty]
        [TableColumn]
        public string AccountTypeCode { get; set; }

        /// <summary>
        /// Gets or sets the product Description.
        /// </summary>
        /// <value>The product Description.</value>
        [DbParameter(0, 0, 0)]
        [VisibleProperty]
        public string Description { get; set; }


    }
          
    public class ProductCollection : List<Product>
    { }
}
